package frame;

import org.newdawn.slick.Color;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.geom.Vector2f;

public class SkillBar {
	
	int skill = 1;
	Vector2f position;
	public SkillBar(Vector2f pos)
	{
		position = pos;
	}
	
	public void render(GameContainer container, Graphics g) throws SlickException
	{	
		g.setColor(new Color(255 - skill* 25,skill * 25,0));
		g.fillRect(position.x, position.y, skill * 12, 8);
	}
	public void addSkill()
	{
		skill++;
	}
}
